[isDoc] hides nodes of a certain document type, that it shouldn't?
I'm working out a website and encounter a situation where the [isdoc] filter in the default "navigationfromsource" xslt hides content nodes that it should actually be showing..
I'm querying the 'network' node, to list all it's children
<!-- Don't change this, but add a 'contentPicker' element to --> <!-- your macro with an alias named 'source' --> <xsl:variable name="source" select="/macro/source"/>
<xsl:template match="/">
<!-- The fun starts here --> <ul> <xsl:for-each select="umbraco.library:GetXmlNodeById($source)/* [@isDoc and string(umbracoNaviHide) != '1']"> <li> <a href="{umbraco.library:NiceUrl(@id)}"> <xsl:value-of select="@nodeName"/> </a> </li> </xsl:for-each> </ul>
</xsl:template>
</xsl:stylesheet>
And this is the html output of the xslt/macro:
<ul />
For some reason it doesn't walk through any of the pages below the Network node... it works fine when i use the same xslt for other sections, that have the same properties (other documenttypes though)
[isDoc] hides nodes of a certain document type, that it shouldn't?
I'm working out a website and encounter a situation where the [isdoc] filter in the default "navigationfromsource" xslt hides content nodes that it should actually be showing..
I'm querying the 'network' node, to list all it's children
This is the XSLT:
And this is the html output of the xslt/macro:
For some reason it doesn't walk through any of the pages below the Network node... it works fine when i use the same xslt for other sections, that have the same properties (other documenttypes though)
Nevermind, nodes were not published.
is working on a reply...